﻿
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <base href="/" />
    <link href="_content/AdminBlazor/adminlte_bb.css?v=1_1_6" rel="stylesheet" />
    <link rel="icon" href="logo.png" type="image/gif" />
    <HeadOutlet @rendermode="@InteractiveServer" />
</head>
<body>

    <Routes @rendermode="new InteractiveServerRenderMode(prerender: false)" />

    <script src="_content/AdminBlazor/adminlte_bb.js?v=1_1_6"></script>
    <script src="_content/TinyMCE.Blazor/tinymce-blazor.js"></script>
    <script src="_framework/blazor.web.js"></script>
    <script type="text/javascript">
        window.callback = null;
        window.filecallback = function (linkUrl) {
            window.callback(linkUrl);
        };
        window.admin = {
            height: 400,
            skin_url: '/lib/tinymce/skins/ui/oxide',
            language_url: '/lib/tinymce/langs/zh-Hans.js',
            language: 'zh-Hans',
            file_picker_types: 'file image media',
            file_picker_callback: (cb, value, meta) => {
                window.callback = cb;
                DotNet.invokeMethodAsync("AdminBlazor.Test", "ToggleFilePicker");
            },
            verify_html: false,
            relative_urls: false,
            remove_script_host: true,
            //document_base_url: '',
            menubar: false,
            toolbar_mode: 'wrap',
            pagebreak_split_block: true,
            plugins: 'lists link image media table code wordcount pagebreak preview fullscreen',
            toolbar:
                'undo redo codesample bold italic underline strikethrough link alignleft aligncenter alignright alignjustify \
              bullist numlist outdent indent removeformat forecolor backcolor |formatselect fontselect fontsizeselect | \
              blocks fontfamily fontsize pagebreak lists image media table preview | code fullscreen',
        }
    </script>
</body>
</html>
